from django.conf.urls.defaults import *

urlpatterns = patterns('pywebnmj.movies.views',
	(r'^$', 'view_all'),
	(r'^(?P<directory_id>\d+)/(?P<movie_id>\d+)/$', 'view_movie'),
	(r'^(?P<directory_id>\d+)/(?P<movie_id>\d+)/edit$', 'edit'),
	(r'^(?P<directory_id>\d+)/(?P<movie_id>\d+)/video_watched$', 'video_watched'),
	(r'^(?P<directory_id>\d+)/(?P<movie_id>\d+)/video_watched_toggle$', 'video_watched_toggle'),
	(r'^(?P<directory_id>\d+)/(?P<movie_id>\d+)/show_watched_toggle$', 'show_watched_toggle'),
)


